package com.sddnytsh.body_buildingsystem.utils

import android.util.Log

object LogUtils {
    private const val TAG = "BodyBuildingSystem"
    private const val DEBUG = false // 发布时设为false
    
    fun d(message: String) {
        if (DEBUG) {
            Log.d(TAG, message)
        }
    }
    
    fun i(message: String) {
        if (DEBUG) {
            Log.i(TAG, message)
        }
    }
    
    fun w(message: String) {
        Log.w(TAG, message)
    }
    
    fun e(message: String, throwable: Throwable? = null) {
        Log.e(TAG, message, throwable)
    }
}
